SQL Error

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'n' in 'where clause' SELECT * FROM `redirect` WHERE `from` = 'http://www.stm-products.com/public/js/'+n%5bd%5d+'/' OR CONCAT('http://www.stm-products.com', `from`) = 'http://www.stm-products.com/public/js/'+n%5bd%5d+'/' Execute() called at /web-storage/vhosts/stmproducts/www.stm-products.com/public/public/lib/page.functions.php at line 342<br />

Fatal error: Uncaught Error: Call to a member function fetchrow() on boolean in /web-storage/vhosts/stmproducts/www.stm-products.com/public/public/lib/page.functions.php:343 Stack trace: #0 /web-storage/vhosts/stmproducts/www.stm-products.com/public/index.php(22): checkRedirects() #1 {main} thrown in /web-storage/vhosts/stmproducts/www.stm-products.com/public/public/lib/page.functions.php on line 343